package com.ynet.middleground.mobile.approve.mq;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;

/**
 * @author liulx
 */
public interface Source {

    String O_MOBILE_APPROVE = "o_mobile_approve_test";

     String BLXD_TO_JKZTYDSP_QDSPJGXX_TEST = "blxd_to_jkztydsp_qdspjgxx_test";

    /**
     * 往 MQ 推送消息，订阅者订阅消费
     * 
     * @return
     */
    @Output(Source.O_MOBILE_APPROVE)
    MessageChannel noticeTest();

    /**
     * 往 MQ 推送消息,测试使用，模拟渠道推送
     *
     * @return
     */
//     @Output(Source.BLXD_TO_JKZTYDSP_QDSPJGXX_TEST)
//     @Output(SourceMobileApprove.BLXD_TO_JKZTYDSP_QDSPJGXX)
//    MessageChannel noticeChannelStateTest();

}
